package echat.future.cn.echat.my.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class ImageBean implements MultiItemEntity {
    private String img;
    private int id;
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public ImageBean() {
    }

    public ImageBean(String img) {
        this.img = img;
    }

    @Override
    public int getItemType() {
        return img == null ?0:1;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
